home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 01d2.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.2 KB  |  51 lines

  1. on startMovie
  2.   global qtChan, gKnobSprite, gSendMovie
  3.   puppetSprite(48, 1)
  4.   gKnobSprite = 14
  5.   gSendMovie = "01d2"
  6.   setUpKnob()
  7.   qtChan = 11
  8.   sprite(qtChan).volume = 256
  9.   preLoad(qtChan - 1)
  10.   set the mouseDownScript to EMPTY
  11.   set the mouseUpScript to EMPTY
  12.   sprite(8).visible = 0
  13. end
  14.  
  15. on idle
  16.   global gCursorReady
  17.   if gCursorReady = 1 then
  18.     cursor(200)
  19.     checkCursors()
  20.     set the locH of sprite 48 to the mouseH
  21.     set the locV of sprite 48 to the mouseV
  22.     updateStage()
  23.   end if
  24. end
  25.  
  26. on checkCursors
  27.   global gMagCursor
  28.   set the castNum of sprite 48 to the number of member "curs1"
  29.   if rollOver(5) then
  30.     set the castNum of sprite 48 to the number of member "hotCursor"
  31.   end if
  32.   if rollOver(6) then
  33.     set the castNum of sprite 48 to the number of member "curs1"
  34.   end if
  35.   repeat with i = 15 to 17
  36.     if rollOver(i) then
  37.       set the castNum of sprite 48 to the number of member "hotCursor"
  38.     end if
  39.   end repeat
  40.   repeat with i = 30 to 32
  41.     if rollOver(i) then
  42.       set the castNum of sprite 48 to the number of member "hotCursor"
  43.     end if
  44.   end repeat
  45.   repeat with i = 40 to 42
  46.     if rollOver(i) then
  47.       set the castNum of sprite 48 to the number of member "hotCursor"
  48.     end if
  49.   end repeat
  50. end
  51.